package com.etc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

import javax.servlet.http.HttpSession;

/**
 * Created by Administrator on 2019/5/21.
 */
@Controller
public class CommentController {

    @GetMapping("Signout")
    public String UserForSignout(HttpSession session) {
        session.setAttribute("user", null);
        return "forward:home";
    }

}
